package top.cluski.feieprint.domain.dto;

import lombok.Data;
import top.cluski.feieprint.framework.validate.Validatable;

import static cn.hutool.core.lang.Assert.notBlank;

@Data
public class YouzanShipDTO implements Validatable {
    String orderId;
//    String recordId;

    @Override
    public void validate() {
//        Assert.isFalse(StrUtil.isBlank(orderId) && StrUtil.isBlank(recordId), "orderId 和 recordId 不能同时为空");
        notBlank(orderId, "orderId不能为空");
    }
}
